
# ------------ Set Include Folders ----------------------
INCLUDE_DIRECTORIES( 
			 ${Boost_INCLUDE_DIR}
		     ${CADKIT_INC_DIR}
		     ${OSG_INC_DIR} 
		     )

SET ( HEADERS
	./Export.h
	./GeoRSSCallback.h
	./GeoRSSLayer.h
	./Item.h
)

#List the Sources
SET (SOURCES
	./GeoRSSCallback.cpp
	./GeoRSSLayer.cpp
	./Item.cpp
)

ADD_DEFINITIONS ("-D_COMPILING_MINERVA_GEO_RSS")

SET ( TARGET_NAME MinervaGeoRSS )

# Create a Shared Library
ADD_LIBRARY( ${TARGET_NAME} SHARED ${HEADERS} ${SOURCES} )
CADKIT_ADD_LIBRARY ( ${TARGET_NAME} )

# Link the Library	
LINK_CADKIT( ${TARGET_NAME} Usul MinervaOsgTools SerializeXML XmlTree MinervaCore MinervaNetwork )
TARGET_LINK_LIBRARIES( ${TARGET_NAME}
	${Boost_FILESYSTEM_LIBRARY}
	${Boost_REGEX_LIBRARY}
	${Boost_SYSTEM_LIBRARY}
  ${OPENTHREADS_LIBRARY}
  ${OSG_LIBRARY}
)
